Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Bug 682681 tab.title should never be empty #492

Merged
merged 5 commits into from Jul 24, 2012
Merged

Bug 682681 tab.title should never be empty #492

merged 5 commits into from Jul 24, 2012

Conversation

erikvold
Copy link
Contributor

update to #236

get title() this._contentDocument.title,
set title(value) this._contentDocument.title = String(value),
get title() this._contentDocument.title || this._tab.label,
set title(value) this._tab.label = String(value),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add getTabTitle(tab) function to tab/utils and use that from here ?

P.S.: tab is actual tab node not trait or something alike.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k got it

Gozala added a commit that referenced this pull request Jul 24, 2012
fix Bug 682681 tab.title should never be empty r=@Gozala
@Gozala Gozala merged commit 3ac1e78 into mozilla:master Jul 24, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants